﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OTPlus.Core.Storage
{
    /// <summary>
    /// Superclasses ActivityFetchCacheItem because we need the access_token as well.
    /// </summary>
    public class ActivityFetchCacheItemRequest: ActivityFetchCacheItem
    {
        public String AccessToken { get; set; }

        public ActivityFetchCacheItemRequest(ActivityFetchCacheItem afci, String accessToken)
        {
            base.LastChecked = afci.LastChecked;
            base.RelevantRecordCount = afci.RelevantRecordCount;
            base.UserID = afci.UserID;
            this.AccessToken = accessToken;
        }
    }
}